import request from '@/utils/request.js'

//获取首页数据
export const getHomeAllData = (obj) =>
  request.get(
    `/api/index?recommend=${obj['recommend']}&sales=${obj['sales']}&new=${obj['new']}&page=${obj['page']}`
  )
